package sanmubird.club.mock.sqlrunner;

import com.baomidou.mybatisplus.extension.toolkit.SqlRunner;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @author Sam
 */
@Service
public class SqlRunnerService {

	public List<Map<String, Object>> selectList(String sql, Object... args) {
		SqlRunner sqlRunner = SqlRunner.db();
		return sqlRunner.selectList(sql, args);
	}
}
